Skip to content

feat: add create template for support agent#467

Merged
zimeg merged 2 commits intomainfrom
zimeg-feat-stable-agent-templates
Apr 7, 2026
Merged

feat: add create template for support agent#467
zimeg merged 2 commits intomainfrom
zimeg-feat-stable-agent-templates

Conversation

@zimeg
Copy link
Copy Markdown
Member

@zimeg zimeg commented Apr 3, 2026

Changelog

The AI Agent templates now include an IT support agent available with the slack create agent command.

Summary

This PR makes the changes of #402 stable 🎁 ✨

Preview

agents

Reviewers

Please do confirm the paths to these templates are correct!

// getFrameworkOptions returns the framework choices for a given template.
func getFrameworkOptions(template string) []promptObject {
frameworkPromptObjects := map[string][]promptObject{
"slack-cli#ai-apps/support-agent": {
{
Title: fmt.Sprintf("Claude Agent SDK %s", style.Secondary("Bolt for Python")),
Repository: "slack-samples/bolt-python-support-agent",
Subdir: "claude-agent-sdk",
},
{
Title: fmt.Sprintf("OpenAI Agents SDK %s", style.Secondary("Bolt for Python")),
Repository: "slack-samples/bolt-python-support-agent",
Subdir: "openai-agents-sdk",
},
{
Title: fmt.Sprintf("Pydantic AI %s", style.Secondary("Bolt for Python")),
Repository: "slack-samples/bolt-python-support-agent",
Subdir: "pydantic-ai",
},
},
"slack-cli#ai-apps/custom-agent": {
{
Title: fmt.Sprintf("Bolt for JavaScript %s", style.Secondary("Node.js")),
Repository: "slack-samples/bolt-js-assistant-template",
},
{
Title: fmt.Sprintf("Bolt for Python %s", style.Secondary("Python")),
Repository: "slack-samples/bolt-python-assistant-template",
},
},
}
return frameworkPromptObjects[template]
}

Requirements

@zimeg zimeg added this to the Next Release milestone Apr 3, 2026
@zimeg zimeg self-assigned this Apr 3, 2026
@zimeg zimeg added enhancement M-T: A feature request for new functionality changelog Use on updates to be included in the release notes semver:minor Use on pull requests to describe the release version increment labels Apr 3, 2026
@zimeg zimeg requested review from a team as code owners April 3, 2026 05:24
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.06%. Comparing base (a0b5565) to head (4b0648e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #467      +/-   ##
==========================================
- Coverage   71.11%   71.06%   -0.06%     
==========================================
  Files         220      220              
  Lines       18530    18487      -43     
==========================================
- Hits        13178    13138      -40     
+ Misses       4177     4174       -3     
  Partials     1175     1175              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@srtaalej srtaalej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the current prompt flow is a little confusing for the Support Agent option 👁️ currently its:

lack create agent
Select a template: -> 
Select language: -> displays LLM SDKs 
Image there is only one language option and this prompt doesnt select language it selects the LLM provider. perhaps the prompt flow for this monorepo is
lack create agent
Select a template: -> 
Select language: ->
Select LLM provider: -> 

?

@zimeg zimeg requested a review from srtaalej April 7, 2026 17:48
@zimeg
Copy link
Copy Markdown
Member Author

zimeg commented Apr 7, 2026

@srtaalej I'd love to revisit this but wanted to keep this focused on making the new agent experience stable in this PR 🏁

I do agree that "language" is a poor choice for the title but I would suggest instead:

  • Select a category: Starter template, AI app, Automation app
  • Select a template: Support Agent, Custom Agent
  • Select a framework: Anthropic SDK with Bolt Python, OpenAI SDK with Bolt Python

Since we might not find all third selections to be LLM specific for other templates and categories of app. I'll link adjacent discussion and hope we can follow up next with this change 👾

Copy link
Copy Markdown
Contributor

@srtaalej srtaalej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! ⭐

@zimeg
Copy link
Copy Markdown
Member Author

zimeg commented Apr 7, 2026

@srtaalej I super appreciate the care to experience and sharp eye shared 👁️‍🗨️

Let's merge this and fast follow with those changes to selections - I think it'll bring the create experience to an alright place.

@zimeg zimeg merged commit 89d8085 into main Apr 7, 2026
8 checks passed
@zimeg zimeg deleted the zimeg-feat-stable-agent-templates branch April 7, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog Use on updates to be included in the release notes enhancement M-T: A feature request for new functionality semver:minor Use on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants